home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / Macintosh Tracker 1.20 / source / Tracker Client Folder / CSongList.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-23  |  788 b   |  33 lines  |  [TEXT/KAHL]

  1. /* CSongList.h */
  2.  
  3. #pragma once
  4.  
  5. #include "CViewRect.h"
  6.  
  7. class CMyDocument;
  8. class CVScrollBar;
  9.  
  10. #define MAXTYPEDCHARS (32)
  11.  
  12. struct    CSongList    :    CViewRect
  13.     {
  14.         CMyDocument*    Document;
  15.         CVScrollBar*    VScroll;
  16.         ulong                    LastClickTime;
  17.         long                    StartingIndex;
  18.         short                    LineHeight;
  19.         uchar                    CharBuffer[MAXTYPEDCHARS];
  20.         short                    CharBufferLength;
  21.         ulong                    LastCharTime;
  22.  
  23.         void                ISongList(CMyDocument* TheDocument, CWindow* TheWindow);
  24.         void                DoMouseDown(MyEventRec Event);
  25.         MyBoolean        DoKeyDown(MyEventRec Event);
  26.         void                DoUpdate(void);
  27.         long                Hook(short OperationID, long Operand1, long Operand2);
  28.         MyBoolean        DoMenuCommand(ushort MenuCommandValue);
  29.         void                EnableMenuItems(void);
  30.         void                Redraw(long Start, long End);
  31.         void                RecalculateScrollBars(void);
  32.     };
  33.